function topTen(id){
	 var t=document.getElementById(id),
	     li=t.getElementsByTagName("li"),
		 each=function(arr,fun){for(var i=0,len=arr.length;i<len;i++) fun(arr[i],i)},
		 cur=li[0];
		 
		 each(li,function(o,i){
			o.className="top"+(i+1);
			o.onmouseover=function(){
				cur.className=cur.className.replace(/\scur/,"")
				cur=this;
				this.className+=" cur";
				}
			})
		 cur.className="top1 cur";
	 }
	 topTen("dns_mytop10")